<template>
  <a-layout id="components-layout-demo-top-side-2">
    <a-layout-header class="header">
      <div class="logo" />
      <a-menu
        theme="dark"
        mode="horizontal"
        :default-selected-keys="['2']"
        :style="{ lineHeight: '64px' }"
      >
        <!-- <a-menu-item key="1">
          <router-link to="/nav/resume">
            投递简历
          </router-link>
        </a-menu-item>
        <a-menu-item key="2">
          收藏职位
        </a-menu-item> -->
        <a-menu-item key="1" style="left:500px" >
          <router-link to="/">
          首页
          </router-link>
        </a-menu-item>
        <a-menu-item key="4" style="left:530px">
          <router-link to="/">
            退出
          </router-link>
        </a-menu-item>
      </a-menu>
    </a-layout-header>
    <a-layout>
      <a-layout-sider width="200" style="background: #fff">
        <a-menu
          mode="inline"
          :default-selected-keys="['0']"
          :default-open-keys="['sub1']"
          :style="{ height: '100%', borderRight: 0 }"
        >
          <a-sub-menu key="sub1">
            <span slot="title"><a-icon type="user" />
              <router-link to="/login/nav">
                个人信息
              </router-link>
            </span>
            <a-menu-item key="1">
              <router-link to="/login/nav/user">
                看板信息
              </router-link>
            </a-menu-item>
            <a-menu-item key="2">
              <router-link to="/login/nav/tree">
                基本信息
              </router-link>
            </a-menu-item>
            <a-menu-item key="3">
              <router-link to="/login/nav/skill1">
                专业技能
              </router-link>
            </a-menu-item>
            <a-menu-item key="4">
              <router-link to="/login/nav/resume">
                投递简历
              </router-link>
            </a-menu-item>
            <a-menu-item key="5">
                <router-link to="/login/nav/collect">
                  收藏职位
                </router-link>
            </a-menu-item>
            <a-menu-item key="6">
              <router-link to="/login/nav/evaluation">
                自我评价
              </router-link>
            </a-menu-item>
          </a-sub-menu>
          <a-sub-menu key="sub2">
            <span slot="title"><a-icon type="laptop" />个人经历</span>
            <a-menu-item key="7">
              <router-link to="/login/nav/education">
                教育经历
              </router-link>
            </a-menu-item>
            <a-menu-item key="8">
              <router-link to="/login/nav/train">
                培训经历
              </router-link>
            </a-menu-item>
            <a-menu-item key="9">
              <router-link to="/login/nav/work">
                工作经历
              </router-link>
            </a-menu-item>
            <a-menu-item key="10">
              <router-link to="/login/nav/grow">
                成长树
              </router-link>
            </a-menu-item>
          </a-sub-menu>
          <a-sub-menu key="sub3">
            <span slot="title"><a-icon type="notification" />个人管理</span>
            <a-menu-item key="11">
              <router-link to="/login/nav/pay">
                缴费管理
              </router-link>
            </a-menu-item>
            <a-menu-item key="12">
              <router-link to="/login/nav/binding">
                账号绑定
              </router-link>
            </a-menu-item>
            <!-- <a-menu-item key="13">
              <router-link to="/login/nav/manage">
                option11
              </router-link>
            </a-menu-item> -->
            <!-- <a-menu-item key="14">
             <router-link to="/login/nav/skill2">
                option12
              </router-link>
            </a-menu-item> -->
             <!-- <a-menu-item key="15">
            <router-link to="/login/nav/manage1">
                option13
              </router-link>
            </a-menu-item> -->
          </a-sub-menu>
        </a-menu>
      </a-layout-sider>
      <a-layout style="padding: 0 24px 0px">
        <!-- <a-breadcrumb style="margin: 16px 0">
          <a-breadcrumb-item>Home</a-breadcrumb-item>
          <a-breadcrumb-item>List</a-breadcrumb-item>
          <a-breadcrumb-item>App</a-breadcrumb-item>
        </a-breadcrumb> -->
        <a-layout-content
          :style="{ background: '#fff', padding: '24px', margin: 0, minHeight: '670px' }"
        >
          <!-- Content -->
          <router-view></router-view>
        </a-layout-content>
      </a-layout>
    </a-layout>
  </a-layout>
</template>
<script>
export default {
  data() {
    return {
      collapsed: false,
    };
  },
};
</script>

<style scoped>
#components-layout-demo-top-side-2 .logo {
  width: 120px;
  height: 31px;
  background: rgba(255, 255, 255, 0.2);
  margin: 16px 28px 16px 0;
  float: left;
}
</style>